/*
 * CameraLauncher.h
 *
 *  Created on: 2011. 3. 15.
 *      Author: JeeHoon
 */
#ifndef CAMERALAUNCHER_H
#define CAMERALAUNCHER_H

#include <FApp.h>
#include "Common.h"
#include "api/Plugin.h"

class PluginManager;

enum DestinationType{ DATA_URL , FILE_URI };
enum PictureSourceType { PHOTOLIBRARY  , CAMERA , SAVEDPHOTOALBUM };

class CameraLauncher :
	public Plugin,
	public Osp::App::IAppControlEventListener
{
public:
	CameraLauncher();
	~CameraLauncher();

	/* Plugin */
	virtual result OnConstruct(PluginManager * pPluginManager, Osp::Base::String pluginName);
	virtual result execute(Osp::Base::String action, Osp::Base::String args, Osp::Base::String callbackId);

	/* Osp::App::IAppControlEventListener */
	virtual void OnAppControlCompleted (const Osp::Base::String &appControlId,
			const Osp::Base::String &operationId,
			const Osp::Base::Collection::IList *pResultList);

private:

};

#endif //CAMERA_H
